---
import CarouselBox from "@components/common/carousel/CarouselBox.astro"
import CarouselItemOne from "@components/common/carousel/CarouselItemOne.astro"
import CarouselItemTwo from "@components/common/carousel/CarouselItemTwo.astro"

---
<!-- 首页轮播 -->

<th:block th:with="articleListOne=${@articleTag.listWebArticleByCategoryId(themeName, 85L,1,10)}"
>
<th:block th:if="${articleListOne!=null && !#lists.isEmpty(articleListOne.rows)}">
<CarouselBox articleSizeExp="itemDot : ${#numbers.sequence(1,#lists.size(articleListOne.rows))}" >
  <CarouselItemOne articleListExp="article : ${articleListOne.rows}" /> 
</CarouselBox>
</th:block>

</th:block>